.resource-cards {
  width: 100%;
}

.resource-card {
  max-width: 350px;
  width: 40%;
  min-width: 300px;
  height: 130px;
  border: 1px solid #e9e9e9;
  border-radius: @border-radius-base;
  font-size: 12px;
  color: #777;
  display: inline-block;
  margin: 20px 40px 10px 0;
  vertical-align: middle;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.resource-card:hover {
  box-shadow: 0 3px 8px #d3ddeb;
  border-color: transparent;
}

.resource-card:hover .resource-card-title {
  color: @primary-color;
}

.resource-card.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.resource-card img {
  display: inline-block;
  vertical-align: middle;
  width: 50px;
  margin: 0 20px 0 24px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.resource-card-content {
  display: inline-block;
  vertical-align: middle;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 92px;
}

.resource-card-title {
  display: block;
  font-size: 16px;
  color: @site-text-color;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 1.2;
  margin-bottom: 6px;
}

.resource-card-description {
  display: block;
  color: #999;
  padding-right: 8px;
}
